home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 982 b | 29 lines | [TEXT/GEOL] |
- Item 3641226 7-Sept-90 05:35PDT
-
- From: SCHMUCKER1 Schmucker, Kurt
-
- To: PHAROS.TECH Pharos Tech, Tech Staff,PRT
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: FW: Enough C++, MI…
-
- > TUnitText = Object(TStaticText)
- > Procedure TStaticText.GetText (Var theText: Str255);
- > OVERRIDE;
- > End;
-
- >This should be a syntax error! Look at the Object name in the procedure name.
- >THINK doesn't complain!
-
-
- I, too, found this "feature". I happened to meet the THINK Pascal compiler
- developer and asked him about it. He thought that given the context (inside
- the OBJECT block), checking the name of the class in the method header was
- superfluous, so he deliberately didn't do it. So this really isn't a bug, just
- a disagreement over what is syntactically important. However, I agree with you
- that this should be checked and told him of my opinion.
-
- Kurt
-
-